/*
 * @Author: Jiraiya
 * @Date: 2020-03-18 12:05:00
 * @LastEditors: Jiraiya
 * @LastEditTime: 2020-03-18 14:00:29
 * @Description: 
 */
@mood
class Person{
    constructor(name){
        this.name = name;
    }
    getName(){
        return this.name;
    }
}
function mood(target){
    target.mood = 'happy'
}
console.log(Person.mood)